//
// Created by steven on 2017/3/7.
// Copyright (c) 2017 steven. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GMDataController.h"
#import "GMSubUserRecord.h"

@interface GMSubUserDataController : GMDataController

@property (nonatomic, strong)NSDictionary *response;

@property (nonatomic, strong)GMSubUserRecord *subUserRecord;

// get sub user list
- (void)requestSubUsersWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

// Create sub user
- (void)createSubUserWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

// Delete sub usesr
- (void)deleteSubUserWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

// update subuser
- (void)updateSubUserWithParams:(NSDictionary *)params callback:(GMCompletionCallback)callback;

@end